package org.example.new_hbps_backend_reconstruction.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.new_hbps_backend_reconstruction.entity.PatientBmiManaEntity;

import java.util.Map;

/**
 * @author 丁利军
 * @date 2025年10月11日 15:27
 * @description 患者身高体重
 */
public interface PatientBmiManaService extends IService<PatientBmiManaEntity> {
    JSONObject getPatientBmiStatus(Long patientUid);
    PatientBmiManaEntity getLastestRecoredByPatientUid(Long patientUid);
    Map<String, Float> getLatestWeightAndHeight(Long patientUid);
    JSONObject getNewestHeightWeightBmi(Long patientUid);
    JSONArray getLastestSevenBmiRecord(Long patientUid);

}